VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

A [WYSIWYG Print and Print Preview for RTF

Dasith Wijesiriwardena  (2 Submissions)   Complete Applications   Visual Basic 5.0   Advanced   Wed 3rd February 2021

By Dasith,
This example shows you how to WYSIWYG Print and Print Preview using EM_FORMATRANGE and EM_SETTARGETDEVICE. The Print Preview can easily be used in your own project and it is fully customizable.
The problem with RTF.SelPrint is that you have no control over the print process (margins and etc.)
This shows you how to use you own Print function.
The Print Preview feature is not 100% accurate though. Still working on it.
If any of you guys develop this further please let me know.

Rate A [WYSIWYG Print and Print Preview for RTF (22(22 Vote))

Download A [WYSIWYG Print and Print Preview for RTF

A [WYSIWYG Print and Print Preview for RTF Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters